remove possible undefined