small bugs were fixed