Fixed construct issue with compiler