fixed my previous mistake