fix picking up webapp directory