cleaninig up np needed variables