removing variable parts