improve rack compatibility