Resolving compile issues