got rid of some warnings