fix define instead of class