Moving addslashes to the layout(Thanks Beat)