better delete behaviour