Fixed templates

http://jira.mosync.com/browse/MOSYNC-3264
http://jira.mosync.com/browse/MOSYNC-3265