fixed bug, now works perfectly