got rid of warnings