fixed:filtering for spaces