fixed minor bugs and added devsync