square path not working