cleaning up level dependencies