fixed delete []