fixed bug, works properply