Removed extra synchronization and fixed URL bug