removes square and sqrt