removed end space