fixed warnings in leveleditor