fixed broken code and flora package