deleting trailling