-fixed a bug in