fixed looping bug in project window