cherry-pick derps
(https://github.com/alteredlikeness/slim_frameworks_base/commit/4538fb1abb794b5668485a588050018fdf33a4e8)