cleaned up intellij warnings