removes extra stuff