Removed possible uneccessary spaces after function name in view name generation