Please confirm the engine code, if it is the factory fitted engine then it should be D15 or D16 (Exi/ Vti).
Secondly, 900 is not a right rpm range for this car, it should be around 700 +/_ 50 rpm with manual transmission.
For unstable RPM problem, please check/ test, service, replace and/or calibrate (where applicable) the following:
1. IACV
2. Damage and tension in the throttle cable
3. Vacuum leak
5. MAP
5. TPS
6. Throtlle plate adjsutment