fixing minor bugs
fixing build target for grunt