fix define statement parsing