Fixes/Error Logging idk